package com.boot.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.common.utils.PageUtils;
import com.boot.mall.product.entity.CategoryEntity;
import com.boot.mall.product.vo.Catalog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author huihui
 * @email 2565036109@qq.com
 * @date 2021-05-06 18:43:57
 */
public interface CategoryService extends IService<CategoryEntity> {

    // 查询所有的分类信息
    List<CategoryEntity> listWithTree();

    List<CategoryEntity> getLevel1Catagories();

    Map<String, List<Catalog2Vo>> getCatalogJson();
}

